package com.lxy.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

@TableName(value = "sku_stock")
@Data
@Accessors(chain = true)
public class SkuStock {

    /** 库存id */
    @TableId(value = "stock_id",type = IdType.AUTO)
    @ApiModelProperty(name = "库存id",notes = "")
    private Integer stockId ;

/*    *//** 创建时间 *//*
    @ApiModelProperty(name = "创建时间",notes = "")
    private Date createTime ;
    *//** 更新时间 *//*
    @ApiModelProperty(name = "更新时间",notes = "")
    private Date updateTime ;*/

    /** SKU ID */
    @ApiModelProperty(name = "SKU ID",notes = "")
    private Integer  skuId ;
    /** 实际库存 */
    @ApiModelProperty(name = "实际库存",notes = "")
    private Integer  actualStock ;
    /** 锁定库存 */
    @ApiModelProperty(name = "锁定库存",notes = "")
    private Integer  lockStock ;
    /** 可售卖库存 */
    @ApiModelProperty(name = "可售卖库存",notes = "")
    private Integer  stock ;
}
